//
//  SHYMediator.h
//  SHYMediator
//
//  Created by huangyang on 16/6/27.
//  Copyright © 2016年 mucang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SHYMediator : NSObject

+ (instancetype)shareInstance;

//远程App调用入口
-(id)performActionWithUrl:(NSURL *)url completion:(void(^)(NSDictionary* info))completion;

//本地组件调用入口
-(id)performTarget:(NSString *)targetName action:(NSString *)actionName params:(NSDictionary *)params;

@end
